﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.Sim.Admin.TreePermission
{
    public class TreePermissionRecordViewDto : TreePermissionConfigDto
    {
        /// <summary>
        /// 树形权限配置记录Id
        /// </summary>
        public long? TreePermissionRecordId { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public int? CompanyId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepartmentId { get; set; }

        /// <summary>
        /// 管理员Id
        /// </summary>
        public long? AdminId { get; set; }
        /// <summary>
        /// 员工组织映射记录Id
        /// </summary>
        public long? StaffOrganizationMappingRecordId { get; set; }

        /// <summary>
        /// 子集权限配置
        /// </summary>s
        public List<TreePermissionRecordViewDto> ChildrenTreePermissions { get; set; }
    }
}
